﻿public class ItemData
{
    private ItemType type;

    private string name;
    
    private int num;

    public ItemType Type
    {
        get => type;
        set => type = value;
    }

    public int Num
    {
        get => num;
        set => num = value;
    }

    public string Name
    {
        get => name;
        set => name = value;
    }
}